// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'

// 1. 导入路由对象
import router from './router/router.js'

// 2. 引入 element-ui
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import './assets/css/common.css'

// 3. 安装一下
Vue.use(ElementUI)

Vue.config.productionTip = false

/* eslint-disable-next-line */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})

// var obj = {
//   name: 'zs',
//   age: 20
// }

// eslint 去检测

// standard  项目里面的标准(项目里)

// prettier  美化代码标准 (vscode)  shift + alt +F

// 想保存 ctrl+s => 自动格式化
// 去vscode 里去配置
